package cc.yiueil.utils;

import com.fasterxml.jackson.databind.ObjectMapper;

public class JsonUtils {

    private JsonUtils() {}

    private static final class ObjectMapperHolder {
        private static final ObjectMapper objectMapper = new ObjectMapper();
    }

    public static ObjectMapper getInstance() {
        return ObjectMapperHolder.objectMapper;
    }
}
